package cn.yyh.servicePay.client;

import cn.yyh.commons.exception.MyException;
import cn.yyh.servicePay.domain.AdoptOrder;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: AdoptOrderClientHystrix
 * @Package: cn.yyh.servicePay.client
 * @date 2021/7/12
 */
public class AdoptOrderClientHystrix implements AdoptOrderClient {
    @Override
    public void update(AdoptOrder adoptOrder) {
        throw new MyException("已超时,请稍后重连");
    }

    @Override
    public String getById(Long id) {
        throw new MyException("已超时,请稍后重连");
    }
}
